echo "build server"
cargo build --release
echo "build web"
cd web
pnpm run build
cd ..
echo "packup"
mkdir rydownloader
cp .env scripts/start.sh scripts/stop.sh target/release/rydownloader rydownloader/
mv web/dist rydownloader/
